<?php
require_once ('../class/User.class.php');
require_once ('../../public/config/config.php');

$user = User::GetUserByID($_SESSION['userID']);
$userInfo = json_encode($user);
echo $userInfo;
?>